Factorising Folds for Faster Functions (Extended Version)
نویسندگان
چکیده
The worker/wrapper transformation is a general technique for improving the performance of recursive programs by changing their types. The previous formalisation (Gill & Hutton, 2009) was based upon a simple fixed point semantics of recursion. In this article we develop a more structured approach, based upon initial algebra semantics. In particular, we show how the worker/wrapper transformation can be applied to programs defined using the structured pattern of recursion captured by fold operators, and illustrate our new technique with a number of examples.
منابع مشابه
Factorising folds for faster functions
The worker/wrapper transformation is a general technique for improving the performance of recursive programs by changing their types. The previous formalisation (Gill & Hutton, 2009) was based upon a simple fixed point semantics of recursion. In this article we develop a more structured approach, based upon initial algebra semantics. In particular, we show how the worker/wrapper transformation ...
متن کاملOn the Distribution Functions of the Range and Quasi-range for the Extended Type I Generalized Logistic Distribution
In this paper, we obtain the distribution functions of the range and the quasi-range of the random variables arising from the extended type I generalized logistic distribution.
متن کاملRefined Topological Vertex and Instanton Counting
It has been proposed recently that topological A-model string amplitudes for toric Calabi-Yau 3-folds in non self-dual graviphoton background can be caluculated by a diagrammatic method that is called the " refined topological vertex ". We compute the extended A-model amplitudes for SU (N)-geometries using the proposed vertex. If the refined topological vertex is valid, these computations shoul...
متن کاملA Simpler and Faster Version of Two-Dimensional Gel Electrophoresis Using Vertical, Mini SDS-PAGE Apparatus
We have modified one of the most useful methods of protein separation; namely, two dimensional gel electrophoresis (2-DE). This modified version of 2-DE is not only simpler and easier but also faster than all the currently available methods. In this method, isoelectric focusing is carried out in the first dimension using a vertical sodium dodecyl sulfate polyacrylamide gel electrop...
متن کاملComparative clinical assessment of two nasolabial hyaluronic acid fillers: A double-blind, randomized controlled trial
Background: Various fillers have been used for the correction of nasolabial folds. This study investigated the efficacy and safety assessment of two hyaluronic acid (HA) fillers on moderate nasolabial folds. Methods: This study randomized 10 volunteers, aged 35 to 49 years, with moderate nasolabial folds. Volunteers received injections of HA A and HA B gels into the right or left skin folds. Th...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009